package com.example.idie.service;

import com.example.idie.bean.Response;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface SSHService {
    Response<String> uploadSingleFile(MultipartFile file) throws Exception;

    Response<String> download(String filename, HttpServletResponse response) throws Exception;

    Response<String> infer(MultipartFile file) throws Exception;

    Response<String> train(Map<String, String> hyperParameters) throws Exception;
}
